<script ng-init="initCss('individual-center-page/css/individual-center.css')"></script>
<div class="content" ng-init="getPerInfo()" xmlns="http://www.w3.org/1999/html">
    <div class="avatar-bg">
        <div class="avator-nickname">

                <div class="avatar" ng-click="individualFile()">
                    <img  ng-if="!userInfo.avatarImg.imgAddress" src="page/personal-profile-edit-page/images/avatar.png">
                    <img ng-if="userInfo.avatarImg.imgAddress" ng-src="{{userInfo.avatarImg.imgAddress}}">

                </div>

            <div class="nickname" ng-model="userInfo.userNickName">
                {{userInfo.userNickName}}
            </div>
        </div>
        <!--  <div class="login-icon"><a href="#/login"><span class="icon icon-settings "></span></a></div>-->
    </div>
    <div class="list-block">
        <ul>

            <li>
                <a href="#/personal-profile">
                    <div class="item-content">
                        <div class="item-media">
                            <i class="icon icon-form-name"> <span class="icon icon-card"></span></i>
                        </div>
                        <div class="item-inner">
                            <div class="item-title label">个人资料</div>
                            <div class="item-input">
                                <span class="icon icon-right"></span>
                            </div>
                        </div>
                    </div>
                </a>
            </li>
            <li>
                <a href="#/history-task">
                    <div class="item-content" >
                        <div class="item-media">
                            <i class="icon icon-form-name"> <span class="icon icon-clock"></span></i>
                        </div>
                        <div class="item-inner">
                            <div class="item-title label">历史发布</div>
                            <div class="item-input">
                                <span class="icon icon-right"></span>
                            </div>
                        </div>
                    </div>
                </a>
            </li>
          <!--  <li>
                <div class="item-content" >
                    <div class="item-media">
                        <i class="icon icon-form-name"> <span class="icon icon-app"></span></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-title label">与我相关</div>
                        <div class="item-input">
                            <span class="icon icon-right"></span>
                        </div>
                    </div>
                </div>
            </li>-->
            <li>
                <a href="#/release-task-content">
                    <div class="item-content" style="margin-top: .8rem;">
                        <div class="item-media">
                            <i class="icon icon-form-name"> <span class="icon icon-edit"></span></i>
                        </div>
                        <div class="item-inner">
                            <div class="item-title label">发布任务</div>
                            <div class="item-input">
                                <span class="icon icon-right"></span>
                            </div>
                        </div>
                    </div>
                </a>
            </li>

            <li >
                <a href="#/about-us">
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-name"> <span class="icon icon-browser"></span></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-title label">关于我们</div>
                        <div class="item-input">
                            <span class="icon icon-right"></span>
                        </div>
                    </div>
                </div>
            </a>

            </li>
            <li ng-if="isLoginTrue">

                <a href="">
                    <div class="item-content">
                        <div class="item-media">
                            <i class="icon icon-form-name"> <span class="fa home fa-power-off"></span></i>
                        </div>
                        <div class="item-inner" ng-click="logout()">
                            <div class="item-title label">退出登录</div>
                            <div class="item-input">
                                <span class="icon icon-right"></span>
                            </div>
                        </div>
                    </div>
                </a>
            </li>
            <li ng-if="isLoginFalse">
                
                <a href="#/login">
                    <div class="item-content">
                        <div class="item-media">
                            <i class="icon icon-form-name"> <span class="fa home fa-user-o"></span></i>
                        </div>
                        <div class="item-inner">
                            <div class="item-title label">登录</div>
                            <div class="item-input">
                                <span class="icon icon-right"></span>
                            </div>
                        </div>
                    </div>
                </a>
            </li>
        </ul>
    </div>
</div>
<nav class="bar bar-tab">
    <a class="tab-item external " href="#/home">
        <span class="icon icon-home"></span>
        <span class="tab-label">首页</span>
    </a>
    <a class="tab-item external" href="#/search">
        <span class="icon icon-search"></span>
        <span class="tab-label">检索</span>
    </a>
    <a class="tab-item external active" href="#individual-center">
        <span class="icon icon-me"></span>
        <span class="tab-label">个人中心</span>
    </a>
</nav>
<div ng-init="suiMobileInit()"></div>